import React from "react"
import { useRoutes} from "react-router-dom"
import router from "./router"
import Nav from "./components/Nav"
import "./App.css"
export default function App(){
        //创建路由对象
        let routes = useRoutes(router);
   
        return <>
                <Nav/>
               {routes}
        
        </>
        
}


